import {API_CONFIG} from "../config/index.js"
import request from '../api/index.js'

export const pod =() => {
    return request(API_CONFIG.podApi,{},"get","2000")
}

export const deletepod =(id) => {
    return request(API_CONFIG.deletePodApi,{id},"get","1000")
}

//方法直接接收一个对象
export const addPod =(podAddForm) => {
    return request(API_CONFIG.addPodApi,podAddForm,"get","1000")
}

export const UpdatePod =(podAddForm) => {
    return request(API_CONFIG.addPodApi,podAddForm,"get","1000")
}